/*
 * LogisticRegHelper.h
 *
 *  Created on: Dec 23, 2009
 *      Author: tunpixel
 */

#ifndef LOGISTICREGHELPER_H_
#define LOGISTICREGHELPER_H_

namespace bouguerra {

#include "../common/Common.h"

#define NAME_SIZE 40
#define SHOW_TEST_IMAGE 0
#define MAX_FILE_LIST 1000


class LogisticRegHelper {
protected:

public:
	void loadFileList(const char* fileName);
	void saveThetasToFile(CvMat* thetas, const char* filename);
	void loadThetasFromFile(CvMat* thetas, const char* filename);
	LogisticRegHelper();
	virtual ~LogisticRegHelper();
	int maxIndex;
	char originalImages[MAX_FILE_LIST][NAME_SIZE];
	char maskImages[MAX_FILE_LIST][NAME_SIZE];
};

}

#endif /* LOGISTICREGHELPER_H_ */
